
if( SERVER ) then
   
 	AddCSLuaFile( "shared.lua" ) 
 	SWEP.HoldType = "pistol";
 
 end 

 
 SWEP.Base = "ep_base";
   
 SWEP.Spawnable			= false 
 SWEP.AdminSpawnable		= false 
   
if( CLIENT ) then

	
	SWEP.ViewModelFlip		= true	
	SWEP.CSMuzzleFlashes	= true
	
	SWEP.DrawCrosshair = false;

end


 SWEP.ViewModel			= "models/weapons/v_smg_mac10.mdl" 
 SWEP.WorldModel			= "models/weapons/w_smg_mac10.mdl" 
   
 SWEP.Primary.Sound			= Sound( "Weapon_mac10.Single" ) 


SWEP.PrintName = "MAC-10";
SWEP.EpiDesc = "Uzi.";


 SWEP.Primary.Recoil			= .2 
 SWEP.Primary.RecoilAdd			= .1
 SWEP.Primary.RecoilMin = .2
 SWEP.Primary.RecoilMax = .5
 
 SWEP.Primary.ViewPunchMul = .5;
 SWEP.Primary.Damage			= 5 
 SWEP.Primary.NumShots		= 1 
 
 SWEP.EpiHoldType = "SMG";

SWEP.Primary.MaxAmmoClip = 32;
SWEP.Primary.Ammo = "smg1";
SWEP.Primary.AmmoString = " .45 ACP rounds";
SWEP.Primary.AmmoType = 4;
SWEP.Primary.Delay = .055;
SWEP.Primary.Automatic = true;
SWEP.Primary.SpreadCone = Vector( 0.07, 0.07, 0.07 );
 SWEP.Primary.ReloadDelay = 3.2;
 
 SWEP.Primary.IronSightPos = Vector( 6.7, 2.9, -2.0 );
 SWEP.Primary.IronSightAng = Vector( 0.0, 4.0, 8.0 );

SWEP.Primary.HolsteredPos = Vector( -0.8, -1.0, -10.0 );
SWEP.Primary.HolsteredAng = Vector( 0.0, -50.0, 0.0 );

 SWEP.ItemWidth = 2;
 SWEP.ItemHeight = 2;

SWEP.IconCamPos = Vector( 23, -184, -9 )  
SWEP.IconLookAt = Vector( 4, 27, 1 )
SWEP.IconFOV = 7
SWEP.HUDWidth = 100;
SWEP.HUDHeight = 100;
SWEP.NicePhrase = "a MAC-10";
SWEP.LightWeight = true;

   